package com.ruoyi.common.enums;

/**
 * 业务操作类型
 *
 * @author ruoyi
 */
public enum QueryState {
    SUCCESS("0", "查询成功"),
    FAIL("1", "查询失败"),
    errorFile("2","请检查文件格式");

    private final String code;
    private final String info;

    QueryState(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
